﻿<UserControl x:Class="WpfIPodControlsTest.ConfigurationDemo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ctls="clr-namespace:WPFIPodControls;assembly=IPodControls"
    Height="300" Width="320">
    <UserControl.Resources>
        <Viewbox x:Key="wifiLogo" Stretch="Uniform">
            <Canvas Width="63.12" Height="26.37">
                <Canvas Canvas.Left="0.50" Canvas.Top="0.50">
                    <Canvas Canvas.Left="-40.37" Canvas.Top="-373.96">
                        <Canvas>
                            <Path Fill="#FF000F24" Data="F1M88.30,399.34C93.67,399.34,98.05,394.96,98.05,389.58L98.05,383.71C98.05,378.34,93.67,373.96,88.30,373.96L50.12,373.96C44.74,373.96,40.37,378.34,40.37,383.71L40.37,389.58C40.37,394.96,44.74,399.34,50.12,399.34L88.30,399.34"/>
                            <Path Fill="#FFFFFFFF" Data="F1M57.69,392.64L54.45,392.64L53.87,389.88C53.45,387.92,53.07,385.55,53.00,384.62C52.92,385.55,52.54,387.92,52.13,389.88L51.54,392.64L48.34,392.64L45.31,379.94L48.93,379.94L49.28,382.07C49.57,383.86,49.92,386.07,50.04,387.58C50.19,386.09,50.59,383.89,50.98,382.08L51.42,379.94L54.65,379.94L55.08,382.08C55.48,383.89,55.88,386.09,56.02,387.58C56.15,386.07,56.49,383.86,56.78,382.07L57.13,379.94L60.72,379.94L57.69,392.64"/>
                            <Path Fill="#FFFFFFFF" Data="F1M62.26,383.42L65.53,383.42L65.53,392.64L62.26,392.64L62.26,383.42 M63.90,382.42C62.83,382.42,62.03,381.81,62.03,380.82C62.03,379.89,62.83,379.24,63.90,379.24C65.02,379.24,65.80,379.89,65.80,380.82C65.80,381.81,65.02,382.42,63.90,382.42"/>
                            <Path Fill="#FFFFFFFF" Data="F1M70.54,389.58L70.54,383.71C70.54,379.37,74.07,375.83,78.41,375.83L88.30,375.83C92.64,375.83,96.17,379.37,96.17,383.71L96.17,389.58C96.17,393.92,92.64,397.45,88.30,397.45L66.53,397.45C68.96,395.69,70.54,392.82,70.54,389.58"/>
                            <Path Fill="#FF000F24" Data="F1M78.47,382.93L78.47,385.77L85.22,385.77L85.22,388.75L78.47,388.75L78.47,392.64L74.97,392.64L74.97,379.94L85.94,379.94L85.94,382.93L78.47,382.93z"/>
                            <Path Fill="#FF000F24" Data="F1M87.97,383.42L91.23,383.42L91.23,396.79L91.23,392.64L87.97,392.64L87.97,383.42 M89.60,382.42C88.53,382.42,87.73,381.81,87.73,380.82C87.73,379.89,88.53,379.24,89.60,379.24C90.72,379.24,91.50,379.89,91.50,380.82C91.50,381.81,90.72,382.42,89.60,382.42"/>
                            <Path Fill="#FF231F20" Data="F1M100.24,375.81L100.39,375.81C100.62,375.81,100.76,375.82,100.81,375.85C100.87,375.86,100.92,375.89,100.95,375.93C100.98,375.98,100.99,376.02,100.99,376.08C100.99,376.12,100.98,376.17,100.95,376.22C100.91,376.26,100.87,376.30,100.82,376.31C100.76,376.33,100.62,376.34,100.39,376.34L100.24,376.34L100.24,375.81 M100.24,377.44L100.24,376.65L100.34,376.65C100.45,376.65,100.54,376.67,100.61,376.72C100.68,376.78,100.77,376.92,100.88,377.12L101.04,377.44L101.53,377.44L101.30,377.05C101.22,376.92,101.17,376.83,101.16,376.82C101.10,376.74,101.06,376.70,101.03,376.67C101.00,376.64,100.95,376.61,100.89,376.60C101.06,376.57,101.18,376.50,101.28,376.40C101.36,376.31,101.41,376.19,101.41,376.05C101.41,375.95,101.39,375.86,101.34,375.77C101.29,375.69,101.23,375.63,101.16,375.59C101.09,375.55,100.98,375.53,100.85,375.52C100.81,375.50,100.60,375.50,100.24,375.50L99.84,375.50L99.84,377.44L100.24,377.44 M99.77,374.87C99.48,375.03,99.25,375.25,99.09,375.54C98.92,375.83,98.84,376.15,98.84,376.47C98.84,376.78,98.92,377.09,99.08,377.38C99.24,377.66,99.47,377.89,99.76,378.05C100.05,378.20,100.35,378.29,100.67,378.29C100.99,378.29,101.29,378.20,101.58,378.05C101.87,377.89,102.09,377.66,102.25,377.38C102.41,377.09,102.49,376.78,102.49,376.47C102.49,376.15,102.41,375.83,102.25,375.54C102.08,375.25,101.86,375.03,101.57,374.87C101.28,374.71,100.98,374.64,100.67,374.64C100.35,374.64,100.05,374.71,99.77,374.87 M101.39,375.19C101.63,375.31,101.81,375.49,101.94,375.72C102.07,375.97,102.14,376.21,102.14,376.47C102.14,376.72,102.07,376.96,101.94,377.19C101.81,377.43,101.63,377.61,101.40,377.74C101.17,377.86,100.92,377.92,100.67,377.92C100.41,377.92,100.17,377.86,99.94,377.74C99.71,377.61,99.53,377.43,99.40,377.19C99.27,376.96,99.20,376.72,99.20,376.47C99.20,376.21,99.27,375.97,99.40,375.72C99.53,375.49,99.72,375.31,99.95,375.19C100.18,375.07,100.42,374.99,100.67,374.99C100.92,374.99,101.16,375.07,101.39,375.19"/>
                        </Canvas>
                    </Canvas>
                </Canvas>
            </Canvas>
        </Viewbox>
        <Viewbox x:Key="bluetoothLogo" Stretch="Uniform">
            <Canvas Width="83.80" Height="94.27">
                <Canvas Canvas.Left="0.50" Canvas.Top="-0.87">
                    <Canvas >
                        <Canvas Canvas.Left="0.08" Canvas.Top="-2.94">
                            <Canvas>
                                <Path Fill="#FF002C60" Data="M28.28,4.31L40.21,4.31L40.21,4.31C55.87,4.31,68.57,22.10,68.57,44.04C68.57,44.04,68.57,44.04,68.57,44.04L68.57,44.04L68.57,57.84L68.57,57.84C68.57,79.78,55.87,97.57,40.21,97.57L40.21,97.57L28.28,97.57L28.28,97.57C12.62,97.57,-0.08,79.78,-0.08,57.84C-0.08,57.84,-0.08,57.84,-0.08,57.84L-0.08,57.84L-0.08,44.04L-0.08,44.04C-0.08,22.10,12.62,4.31,28.28,4.31"/>
                            <Path Fill="#FFFFFFFF" Data="M13.85,35.40L18.33,30.92L31.51,43.60L31.51,13.26L54.64,36.14L39.47,51.56L55.14,67.23L31.51,89.37L31.51,59.27L18.83,72.21L13.60,67.23L30.27,51.31L13.85,35.40z"/>
                            <Path Fill="#FF002C60" Data="M37.98,27.94L37.98,43.85L45.69,36.39L37.98,27.94z"/>
                            <Path Fill="#FF002C60" Data="M37.73,59.52L38.22,73.70L45.93,66.98L37.73,59.52z"/>
                        </Canvas>
                        </Canvas>
                    </Canvas>
                </Canvas>
            </Canvas>
        </Viewbox>
        <LinearGradientBrush x:Key="HeadBrush" StartPoint="0,0" EndPoint="0,1">
            <GradientStop Color="#B2BCC8" Offset="0"/>
            <GradientStop Color="#74849D" Offset="1"/>
        </LinearGradientBrush>
        
    </UserControl.Resources>
    <Grid>
        <ctls:IPodPageScroller x:Name="pageScroller" ScrollingDuration="250">
            <DockPanel LastChildFill="True">
                <Grid Height="30" DockPanel.Dock="Top" Background="{StaticResource HeadBrush}">
                    <TextBlock Text="Configuration" Foreground="White" VerticalAlignment="Center" FontSize="19" HorizontalAlignment="Center"/>    
                    <Button Content="Parameters" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" Click="Button_Click"/>
                </Grid>

                <ctls:IPodListBox>
                    <DockPanel HorizontalAlignment="Stretch">
                        <Image Source="pack://application:,,,/Images/wifi.jpg"/>
                        <TextBlock Text="Wifi" VerticalAlignment="Center" Margin="5,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="True"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch">
                        <Image Source="pack://application:,,,/Images/bluetooth.jpg"/>
                        <TextBlock Text="Bluetooth" VerticalAlignment="Center" Margin="5,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="True"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <Image Source="pack://application:,,,/Images/SSH.jpg"/>
                        <TextBlock Text="SSH" VerticalAlignment="Center" Margin="5,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch">
                        <Image Source="pack://application:,,,/Images/samba.jpg"/>
                        <TextBlock Text="Samba" VerticalAlignment="Center" Margin="5,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show SSH" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show on reboot always" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show Bluetooth" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="True"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show Wifi" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="True"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show Mail" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Show Dock" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                    <CheckBox HorizontalAlignment="Right" Margin="5,0,0,0" IsChecked="False"/>
                </DockPanel>
                </ctls:IPodListBox>
            </DockPanel>
            <DockPanel LastChildFill="True">
                <Grid Height="30" DockPanel.Dock="Top" Background="{StaticResource HeadBrush}">
                    <TextBlock Text="Parameters" Foreground="White" VerticalAlignment="Center" FontSize="19" HorizontalAlignment="Center"/>    
                    <Button Content="Configuration" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" Click="Button_Click_1"/>
                </Grid>
                <ctls:IPodListBox>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Wifi" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                        <Button Background="{StaticResource moredetailsBrush}" Width="25" BorderThickness="0" HorizontalAlignment="Right" Click="OnWifiParameter"/>
                    </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="Bluetooth" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                        <Button Background="{StaticResource moredetailsBrush}" Width="25" BorderThickness="0" HorizontalAlignment="Right" Click="OnBlueToothParameter"/>
                    </DockPanel>
                    <DockPanel HorizontalAlignment="Stretch" Height="25">
                        <TextBlock Text="SSH" VerticalAlignment="Center" Margin="0,0,0,0" FontFamily="Verdana" FontWeight="UltraBold" FontSize="12"/>
                        <Button Background="{StaticResource moredetailsBrush}" Width="25" BorderThickness="0" HorizontalAlignment="Right"/>
                    </DockPanel>
                </ctls:IPodListBox>
            </DockPanel>
            <DockPanel LastChildFill="True">
                <Grid Height="30" DockPanel.Dock="Top" Background="{StaticResource HeadBrush}">
                    <Label Content="Configuration" Foreground="White" VerticalAlignment="Center" FontSize="19" HorizontalAlignment="Center"/>    
                <Button Content="Parameters" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,10,0" Click="Button_Click_1"/>
            </Grid>
                <Grid >

                </Grid>
            </DockPanel>

        </ctls:IPodPageScroller>
    </Grid>
</UserControl>
